package com.lang;

import org.junit.Test;

public class StringTest {


    @Test
    public void lengthTest() {
        String str = "我爱中国aaa";
        System.out.println("str.length() = " + str.length());
        System.out.println("str.getBytes().length = " + str.getBytes().length);
    }


}
